package com.gaohe.scp.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gaohe.common.annotation.Excel;
import com.gaohe.common.core.domain.BaseEntity;

/**
 * 车辆管理对象 cs_car
 *
 * @author liuxiangyu
 * @date 2025-03-28
 */
public class CsCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆ID */
    private Long carId;

    /** 车辆名称 */
    @Excel(name = "车辆名称")
    private String carName;

    /** 是否推送 */
    @Excel(name = "是否推送")
    private String isPush;

    /** 图片1 */
    @Excel(name = "图片1")
    private String image;

    /** 品牌1 */
    @Excel(name = "品牌1")
    private String brand;

    /** 型号1 */
    @Excel(name = "型号1")
    private String model;

    /** 年限1 */
    @Excel(name = "年限1")
    private String oldYear;

    /** 公里数1 */
    @Excel(name = "公里数1")
    private String kilometers;

    /** 过户次数1 */
    @Excel(name = "过户次数1")
    private Long guohuCount;

    /** 评分1 */
    @Excel(name = "评分1")
    private BigDecimal star;

    /** 起拍价格 */
    @Excel(name = "起拍价格")
    private BigDecimal startPrice;

    /** 最少加价 */
    @Excel(name = "最少加价")
    private BigDecimal addPrice;

    /** 车源地 */
    @Excel(name = "车源地")
    private String address;

    /** 起拍时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")  // JSON序列化格式
    @Excel(name = "起拍时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")  // Excel格式
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date endTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 成交人 */
    @Excel(name = "成交人")
    private Long userId;

    /** 是否删除 */
    private String delFlag;

    public void setCarId(Long carId)
    {
        this.carId = carId;
    }

    public Long getCarId()
    {
        return carId;
    }

    public void setCarName(String carName)
    {
        this.carName = carName;
    }

    public String getCarName()
    {
        return carName;
    }

    public void setIsPush(String isPush)
    {
        this.isPush = isPush;
    }

    public String getIsPush()
    {
        return isPush;
    }

    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }

    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }

    public void setModel(String model)
    {
        this.model = model;
    }

    public String getModel()
    {
        return model;
    }

    public void setOldYear(String oldYear)
    {
        this.oldYear = oldYear;
    }

    public String getOldYear()
    {
        return oldYear;
    }

    public void setKilometers(String kilometers)
    {
        this.kilometers = kilometers;
    }

    public String getKilometers()
    {
        return kilometers;
    }

    public void setGuohuCount(Long guohuCount)
    {
        this.guohuCount = guohuCount;
    }

    public Long getGuohuCount()
    {
        return guohuCount;
    }

    public void setStar(BigDecimal star)
    {
        this.star = star;
    }

    public BigDecimal getStar()
    {
        return star;
    }

    public void setStartPrice(BigDecimal startPrice)
    {
        this.startPrice = startPrice;
    }

    public BigDecimal getStartPrice()
    {
        return startPrice;
    }

    public void setAddPrice(BigDecimal addPrice)
    {
        this.addPrice = addPrice;
    }

    public BigDecimal getAddPrice()
    {
        return addPrice;
    }

    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }

    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }

    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("carId", getCarId())
                .append("carName", getCarName())
                .append("isPush", getIsPush())
                .append("image", getImage())
                .append("brand", getBrand())
                .append("model", getModel())
                .append("oldYear", getOldYear())
                .append("kilometers", getKilometers())
                .append("guohuCount", getGuohuCount())
                .append("star", getStar())
                .append("startPrice", getStartPrice())
                .append("addPrice", getAddPrice())
                .append("address", getAddress())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("status", getStatus())
                .append("userId", getUserId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
